package com.jctrip.hotel.management.model.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@ApiModel(value = "供应Code信息-返回值")
@Data
@Builder
public class GetSourceCodeResult {
    @ApiModelProperty(value = "供应Code列表")
    private List<GetSourceCodeResult.SourceCodeInfo> sourceCodeList;

    @ApiModel(value = "供应Code对象")
    @Data
    @Builder
    public static class SourceCodeInfo{
        @ApiModelProperty(value = "主键id")
        private Long id;

        @ApiModelProperty(value = "供应商编号")
        private String code;

        @ApiModelProperty(value = "供应商名称")
        private String name;
    }
}
